package com.pss.common.enums;


import com.pss.common.constant.ExchangeConstant;
import com.pss.common.constant.QueueNameConstant;
import lombok.Getter;

@Getter
public enum QueueEnum {

    /**
     * 初始化队列
     */
    QUEUE_SMS_INIT(ExchangeConstant.SMS_EXCHANGE, QueueNameConstant.DH_SMS_QUEUE_INIT,
            QueueNameConstant.DH_SMS_QUEUE_INIT);



    /**
     * 交换名称
     */
    private String exchange;
    /**
     * 队列名称
     */
    private String name;
    /**
     * 路由键
     */
    private String routeKey;

    QueueEnum(String exchange, String name, String routeKey) {
        this.exchange = exchange;
        this.name = name;
        this.routeKey = routeKey;
    }
}
